-- GENERATED SPELL FOR [Larion] --


function spell0_9118(pUnit, Event) --6Create Bloodpetal Zapper,n/a--
pUnit:FullCastSpellOnTarget(22565,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_9118', 622, 1)
end

function Sorts_9118(pUnit, Event)
local choix_sorts_9118 = math.random(0, 0)
if choix_sorts_9118 == 0 then
pUnit:RegisterEvent('spell0_9118', 1, 1)
end
end

function mob9118_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_9118', math.random(1500, 3000), 1)
end

function mob9118_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob9118_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob9118_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(9118, 1, 'mob9118_Action')
RegisterUnitEvent(9118, 2, 'mob9118_Leave')
RegisterUnitEvent(9118, 3, 'mob9118_Kill')
RegisterUnitEvent(9118, 4, 'mob9118_Die')
